package com.feiyun.erp.service;

import com.feiyun.erp.entity.Functions;
import com.feiyun.erp.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xray
 * @since 2021-05-03
 */
public interface IUserService extends IService<User> {

    /**
     * 根据用户名查询上下级菜单
     * @param username
     * @return
     */
    List<Functions> getFunctionsAndSubFunctionsByUsername(String username);
}
